POV-Ray : Newsgroups : povray.general : FEATURE REQUEST: Exclude light : Re: FEATURE REQUEST: Exclude light Server Time
5 Aug 2024 14:13:00 EDT (-0400)
  Re: FEATURE REQUEST: Exclude light  
From: Warp
Date: 15 Oct 2002 12:30:05
Message: <3dac428c$1@news.povray.org>
hughes, b. <omn### [at] charternet> wrote:
> I'd say a logical anti-light would illuminate the shadow regions, behaving
> exactly opposite of a regular light.

  A logical anti-light would not work that way. A logical anti-light
substracts light from its surroundings (light which is casted by regular
light sources). That is, they act as negated light sources.
  Regular light sources have no effect whatsoever on shadows. Negating
the effect of doing nothing is still doing nothing (it's the same in
math and in logic: -0 = 0; if you haven't done anything, there's nothing to
undo, so you still do nothing).

  Thus, a POV-Ray light source with negative color works very well as
a logical anti-light.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.